home *** CD-ROM | disk | FTP | other *** search
- Path: vixen.cso.uiuc.edu!arh0268!not-for-mail
- From: Dannyman@uiuc.edu (Unknown)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Must I free my linked lists? (GCC)
- Date: 21 Jan 1996 22:09:16 GMT
- Organization: University of Illinois at Urbana
- Message-ID: <4dudic$aif@vixen.cso.uiuc.edu>
- NNTP-Posting-Host: arh0268.urh.uiuc.edu
- X-Newsreader: TIN [AMIGA 1.3 950726BETA PL0]
-
- I'm writing a program that makes use of dynamic memory allocation through
- linked lists using malloc() ... from an implementation PoV there's no need
- to flush this stuff as after the queue is created it's output and the
- program exits. My question is;
-
- "When my program exits, is the dynamic memory in the queues returned to
- the system or is a "memory hole" left, so that I should actually go back and
- return all the memory in my program ..."
-
- Thanks. Please reply publically, because I got 20 emails on my last
- question. No *need* for all you courteous folk to respond! :)
-
- --
- =====///====================================================================
- ====///=======This message brought to you by dannyman@uiuc.edu==============
- \\\///=========HOME PAGE! http://www.uiuc.edu/ph/www/djhoward ==============
- =\XX/A1200==================================================================
- "Our ship is broken. Can you make it go?"
-